﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace WPF1
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
    }

    public class UserInfo
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public string Email { get; set; }
        public string Phone { get; set; }

        public static List<UserInfo> All()
        {
            var list = new List<UserInfo>
            {
                new UserInfo{Id="123",Email="163@163.com",Name="茵茵1",Phone="112"},
                new UserInfo{Id="124",Email="164@163.com",Name="茵茵2",Phone="113"},
                new UserInfo{Id="125",Email="164@163.com",Name="茵茵3",Phone="114"},
                new UserInfo{Id="126",Email="166@163.com",Name="茵茵4",Phone="115"},
                new UserInfo{Id="127",Email="167@163.com",Name="茵茵5",Phone="116"},
            };
            return list;
        }
    }
}
